<template>
  <div>
    <div class="mar-t-15">
      <div class="list-header font-14 font-w flex">
        <span>退货商品</span>
        <span>申请时间</span>
        <span>退换时间</span>
        <span>寄回单号</span>
        <span>处理状态</span>
        <span>操作</span>
      </div>
      <div v-for="(item, index) of 4" :key="index" class="mar-t-10">
        <div class="order-info flex flex-between pad-l-10 pad-r-20">
          <div class="v-align-c">
            <el-checkbox v-model="checkAll" size="large" />
            <span class="mar-l-10 font-12">订单号: 5465456465465454654 </span>
            <span class="mar-l-10 font-12 font-color-9">2021-12-12 16:30:30</span>
            <span class="mar-l-13 font-12 address-tag v-align-c">杭州</span>
          </div>
          <div class="v-align-c font-12 user-info">
            <span>收件人：望远镜</span>
            <span class="mar-l-15">手机号：15632322256</span>
          </div>
        </div>
        <div class="goods-info pad-t-13 pad-b-20 flex">
          <div class="flex pad-l-10">
            <img class="width-80 height-80" src="https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fpic153.nipic.com%2Ffile%2F20180116%2F8737320_170317603036_2.jpg&refer=http%3A%2F%2Fpic153.nipic.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1646876869&t=735c4dec0d8b574f5a0b36b9c548c37d" alt="">
            <div class="flex-col mar-l-10">
              <span class="font-12 font-color-3 line-1 goods-title">商品标题推秋冬爆款中性宽松牛仔商品标题推秋冬爆款中性宽松牛仔...</span>
              <span class="font-12 font-color-6 mar-t-4">货号：SSSS555</span>
              <span class="font-12 font-color-6">单价：<span class="count">￥50</span></span>
            </div>
          </div>
          <div class="flex-col">
            <span class="font-12 font-color-6">2021-11-12</span>
            <span class="font-12 font-color-6">12:22:33</span>
          </div>
          <div>
            <span class="font-12 font-color-6">1 / 2 / 6</span>
          </div>
          <div class="flex-col">
            <span class="font-14 font-color-3">21315646546546854</span>
          </div>
          <div class="flex-col">
            <span class="font-12 font-color-6">等待卖家同意</span>
          </div>
          <div class="flex-col font-12">
            <router-link :to="{name: 'after-sales-detail', params: {orderId: 1}}">
              <span class="cursor-p">查看</span>
            </router-link>
          </div>
        </div>
      </div>
    </div>
    <div class="flex flex-center mar-t-30">
      <page-number />
    </div>
  </div>
</template>

<script lang="ts">
import PageNumber from '../../../components/PageNumber/index.vue'
import { defineComponent } from 'vue'
export default defineComponent({
  name: '',
  components: {
    PageNumber
  },
  setup() {
  }
})
</script>

<style lang="scss" scoped>
  $darkBlue: #182245;
  $fontcolor: #323233;
  $td1: 371px;
  $td2: 145px;
  $td3: 144px;
  $td4: 160px;
  $td5: 161px;
  .list-header {
    width: 1140px;
    height: 48px;
    background: #F9F9F9;
    border: 1px solid #F5F5F5;
    color: $fontcolor;
    &>span {
      display: flex;
      align-items: center;
    }
    &>span:nth-child(1) {
      padding-left: 50px;
      width: $td1;
    }
    &>span:nth-child(2) {
      width: $td2;
    }
    &>span:nth-child(3) {
      width: $td3;
    }
    &>span:nth-child(4) {
      width: $td4;
    }
    &>span:nth-child(5) {
      width: $td5;
    }
  }
  .order-info {
    width: 1140px;
    height: 34px;
    background: #F5F7FB;
    .address-tag {
      background: $darkBlue;
      color: #fff;
      padding: 1px 5px;
    }
  }
  .user-info {
    color: $fontcolor;
  }
  .goods-info {
    &>div:not(:first-child) {
      margin-top: 7px;
    }
    &>div:nth-child(1) {
      width: $td1;
    }
    &>div:nth-child(2) {
      width: $td2;
    }
    &>div:nth-child(3) {
      width: $td3;
    }
    &>div:nth-child(4) {
      width: $td4;
    }
    &>div:nth-child(5) {
      width: $td5;
    }
    .goods-title {
      width: 189px
    }
    .count {
      color: #FF452C;
    }
  }
</style>

